package org.example.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Shanpin {
    int id;

    String shanpinfeleName;

    String username;

    String name;//名字

    int jiage;//价格

    int shu;//数量

    int status;//状态

    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private  String image;

    //需求
    private double yingfe;

    private int gomaishu;


    private LocalDateTime wdzjTime;

}
